package day015.kebiancanshu;

import java.util.ArrayList;
import java.util.Collections;

public class VariableDemo2 {
    public static void main(String[] args) {
        ArrayList<Integer> list = new ArrayList<>();
        Collections.addAll(list, 10, 20, 30, 40, 50);
        System.out.println(list);
    }
}
